Hy,
I use Drupal6.13, DHTML 6.x-3.5 and darkgrail theme.
I have put primary link off in the theme and choose to have primary menu in the navbar.
I have tried DHTML menu with the primary. (cf screenshot : "before")
There is a submenu with the choice "Ailleurs". When I select this option, the items of the submenus are not at the rightplace (ch sceenshot "after" ) under the item "Ailleurs" of the menu and the other hidden are hidden.
When I click on "Ailleurs", menu retrieve his first appearance.
I put DHTML off but the module remained activated.

Thank you

Alain LAMBERT

Comments

gausarts’s picture

I'll see to it and be back soon I hope. Thanks

gausarts’s picture

I haven't used dhtml menu for a year or so, so I have no idea what you are trying to achieve and the latest feature of it. I could reproduce the problem though.

Try this:

#navbar-inner {
 overflow:visible;
 height:42px;
}

#navbar ul{
 float:left;
 padding:8px 0 0;
} 

You may need to adjust the height and padding. If you still have trouble, it'll be helpful if you can provide a screenshot with desired result/ mockup.

altbzh’s picture

Issue tags: +breadcrumbs
StatusFileSize
new242.78 KB

Thank you,
I try it but does not work ....
I need some more time to try another time because I beleive i have some trouble : .css files are created in a rpertory which is also created : sites/mysite/files/css/ .... ==> and it is these files that I see with firebug and so It's become difficult to overide css....

I would like to have dropdown menu : for instance when I click on "Ailleurs", we can see just below "fils"(=rss) , and still below "liens" (=links) which are the items of the submenu "Ailleurs". (cf screenshot)

It seems that the breadrumbs does not work and remain at "Accueil" (="Home")

You can just have a look of the beginning of th site ... http://www.alain-lambert.net/ ;-)

Have a good day ...

gausarts’s picture

Do not activate/ check CSS aggregation yet during your customization. You'll have hard times with that. Once you are done, you should activate it, of course. Hope that will relax you a bit during devs :)

gausarts’s picture

BTW, if you'd like to have a dropdown menu, why not use nice_menus?

Unless you can point me to the docs or issues that can make dhtml menu work as dropdown menu, I just found the bad news that dhtml can not make dropdown => http://drupal.org/node/366094

gausarts’s picture

StatusFileSize
new32.5 KB

This is my early test to make dropdown menu work with DHTML.

/*testing navigation bar with dropdown dhtml*/
#navbar-inner{background-color:#95C414;height:32px;overflow:visible;}
#navbar li a:hover{color:#fff;}
#navbar ul.menu,#navbar ul.menu *{list-style:none;margin:0;padding:0;}
#navbar ul.menu{line-height:1.0;}
#navbar ul.menu ul{position:absolute;top:-999em;width:160px;}
#navbar ul.menu li{float:left;position:relative;z-index:11999;}
#navbar ul.menu li:hover{visibility:inherit;}
#navbar ul.menu a{display:block;font:14px Georgia, "Times New Roman", Times, serif;padding:.6em .8em;position:relative;}
#navbar ul.menu li:hover ul{left:0;top:2.5em;z-index:99;}
#navbar ul.menu li:hover li ul{top:-999em;}
#navbar ul.menu li li:hover ul{left:165px;top:0;}
#navbar ul.menu ul li{width:160px;z-index:11997;}
#navbar ul.menu li a{color:#2a3803;line-height:12px;}
#navbar ul.menu li li a{font-family:Arial, Verdana, sans_serif;font-size:12.4px;font-weight:200;padding:.36em .8em;}
#navbar ul.menu li ul li{background-color:#95C414;border-bottom:1px solid #88b214;border-top:1px solid #dcf596;padding:2px 5px;width:150px;}
#navbar ul.menu li ul li a{line-height:normal;}
#navbar ul.menu li ul{margin:-5px 0 0 -1px;text-align:left;}
#navbar ul.menu li.last ul{margin:-4px 0 0 -71px;}
#navbar ul.menu li ul li.first{border-top:0;padding-top:8px;}
#navbar ul.menu li ul li.last{border-bottom:1px solid #fff;padding-bottom:12px;}
#navbar ul.menu li:hover,#navbar ul.menu a:focus,#navbar ul.menu a:hover,#navbar ul.menu a:active{outline:0;}
#navbar ul.menu li:hover,#navbar ul.menu a:focus,#navbar ul.menu a:hover,#navbar ul.menu a:active,#navbar ul.menu li.active,#navbar ul.menu li a.active{background-color:#95C414;color:#000;}
#navbar li.active-trail a,#navbar li.active-trail li.active-trail a.active{color:#000;font-weight:800;}

Still rough, but it works :)

And please let me know if you still find trouble.

altbzh’s picture

Thank's for this ... I fear I am as poor in my english as in Drupal ...:-)

May be dropdown is not the real term , collapsable (?) will be better; now I try DHTML and nice (I use them in an another site)

see you later ....

altbzh’s picture

gausarts’s picture

Title: darkgrail and dhtml » collapsible/ dropdown dhtml with primary menus
Status: Active » Fixed

Hi, glad it works :)

altbzh’s picture

Hi,

It does not work still for dropdown menu ...
In your example, do you use your secondary menu or the primary block ?
I can't see the dropdown menu but I begin to understand ....
Have a good say ...

gausarts’s picture

I used the primary menu block, secondary or custom doesn't matter. What about you? Do you still have trouble with it?

altbzh’s picture

StatusFileSize
new4.23 KB

I think it' nearly perfect ... :-) I have just to check all possibilities of DHTML and to make more beautiful the look;
I have mixed your CSS and mine (see attached file ...).
I think I have some troubles with breadcrumbs but I have to test it.

Thank you, have a good day

altbzh’s picture

Title: collapsible/ dropdown dhtml with primary menus » Maintenance theme / favicon
Status: Fixed » Active
Issue tags: -breadcrumbs, -primary menu, -Zen subtheme, -DHTML +favicon, +maintenance theme

Hie,

It's still me ...
3 points :

1 : small mistake in my file : a blank before :hoover
2 : how make your theme ( = default theme) when the site is in maintenance instead the administration theme
3 : I use a favicon; with firefox, I can see it in the url but not in my personnal bar. I see Drupal one although I put mine in the darkgrail repertory.

Thank you

gausarts’s picture

Title: Maintenance theme / favicon » collapsible/ dropdown dhtml with primary menus
Assigned: altbzh » Unassigned
Status: Active » Fixed

Hi,

To avoid clutters, I think we can always open another separate issue for different things, don't you think?

So, let's mark this collapsible/dropdown dhtml menu fixed, and we'll move the "Maintenance theme / favicon" into another thread, shall we?

Thanks

altbzh’s picture

Sure .... and excuse me !! and I beleive when i modified the title that's create a new isuue ....

Status: Fixed » Closed (fixed)
Issue tags: -favicon, -dark grail, -maintenance theme

Automatically closed -- issue fixed for 2 weeks with no activity.